#include "stuff.h"
#include "quad.h"
#include "projectile2.h"

#ifndef BOX_H
#define BOX_H

class Box
{
	private:
		Quad faces[6];
		Vector position;
		Vector direction;
		GLfloat velocity;
		Vector size;
		Vector color;


	public:
		Box();
		Box(Vector position, Vector direction, GLfloat velocity, Vector size, Vector color);
		Box::Box(Vector position, Vector direction, GLfloat velocity, Vector size, Vector colors[6]);

		Vector getPosition();
		void setPosition(Vector position);
		void setColor(Vector color);
		void setDirection(Vector direction);
		void setVelocity(GLfloat velocity);

		void update(double deltaTime);
		bool intersect(Projectile2 projectile);
		void draw();
};

#endif